<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/usercomplain/usercomplainlist" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
  <div class="page">
    <div class="page-hd">
      <h1>投诉管理</h1>
    </div>
    <div class="navbar">
      <ul class="nav">
        <li ><a href="{:URL('admin/Complaints/complaints')}">微博投诉</a>
        </li>
        <!-- <li <eq name="other_tab" value="cur"> class="active"</eq>><a href="{:URL('admin/Content/weibo')}">{$Think.lang.待审列表}</a>
        </li> -->
        <li  class="active" ><a href="{:URL('admin/UserComplain/usercomplainlist')}">用户投诉</a>
        </li>
      </ul>
    </div>
      <div class="filterbar">
	    <form id="search"  method="post">
          <label for="">投诉人id</label>
	      <input type="text" name="userid" id="userid" value="{$userid}" class="input-text">
	      <label for="">被投诉人id</label>
	      <input type="text" name="touserid" id="touserid" value="{$touserid}" class="input-text">
	      <label for="">投诉内容</label>
	      <input type="text" name="tomsg" id="tomsg" value="{$tomsg}" class="input-text">
	      <button type="submit" class="btn-search" id="J_search" title="搜索">
	        <i class="icon-search"></i>
	      </button>
	    </form>
	  </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="">
                <input type="checkbox" id="checkbox_handle"  class="toggle-all" value="0">
                <label for="checkbox"></label>
              </th>
              <th style="">投诉人ID</th>
              <th style="">{$Think.lang.uname}</th>
              <th style="">被投诉人ID</th>
              <th style="">被投诉人姓名</th>
              <th style="">投诉内容</th>
              <th style="">投诉时间</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="list">
              <tr overstyle='on' data-id="{$vo['_id']}">
                <td>
                  <input type="checkbox" name="checkbox" id="checkbox2" class="toggle" value="{$vo._id}">
                </td>
                <td>{$vo.userid}</td>
                <td><a href="{:Url('home/Space/index',array('uid'=>$vo['userid'] ))}" target='_black'>{$vo.username}</a></td>
                <td>{$vo.touserid}</td>
                <td><a href="{:Url('home/Space/index',array('uid'=>$vo['touserid'] ))}" target='_black'>{$vo.tousername}</a></td>
                <td>{$vo.tomsg}</td>
                <td>{$vo.datetime}</td>
                <td><a href="javascript:;" class="A_del">{$Think.lang.delRecords}</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>

      <div class="datas-ft">
        <div class="actions">
          <a href="javascript:;" class="btn" id="J_del">{$Think.lang.delRecords}</a>
        </div>
        <div class="pager" style="text-align:right">{$page}</div>
      </div>

    </div>
  </div>
</body>

</html>
